package com.dps.omc.thread.test;

import com.dps.TestBase;
import com.dps.omc.service.ILogFileService;
import com.dps.omc.service.ITaskService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by lip on 2016-05-17.
 */
public class UploadLogThread extends TestBase {

    @Autowired
    private ITaskService taskService;
    @Autowired
    private ILogFileService logFileService;

    @Test
    public void testRun()
    {
        String taskId = "004c468611374f6f9a87ebb2ebd85f86";
        String returnMsg = "333333333333333333333333333333333333333322222";
        new Thread(new com.dps.omc.mq.consumer.impl.UploadLogThread(taskId,returnMsg,taskService,logFileService)).start();
    }
}
